package model

type Group struct {
	ID        int    `json:"id" gorm:"primarykey"`
	CreatedAt int64  `json:"createAt"`
	UserId    int    `json:"userId" gorm:"index;comment:'群主ID'"`
	Name      string `json:"name" gorm:"type:varchar(150);comment:'群名称'"`
	Notice    string `json:"notice" gorm:"type:varchar(350);comment:'群公告'"`
}
